.class public Lcom/hierynomus/smbj/connection/ConnectionInfo;
.super Ljava/lang/Object;
.source "ConnectionInfo.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/hierynomus/smbj/connection/ConnectionInfo$GlobalCapability;
    }
.end annotation


# instance fields
.field private a:Lcom/hierynomus/smbj/connection/c;

.field private b:[B

.field private c:Ljava/util/UUID;

.field private d:Ljava/lang/String;

.field private e:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

.field private f:Ljava/util/UUID;

.field private g:Ljava/util/EnumSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/smbj/connection/ConnectionInfo$GlobalCapability;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/util/UUID;Ljava/lang/String;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->f:Ljava/util/UUID;

    .line 3
    iput-object p1, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->f:Ljava/util/UUID;

    .line 4
    new-instance p1, Lcom/hierynomus/smbj/connection/c;

    invoke-direct {p1}, Lcom/hierynomus/smbj/connection/c;-><init>()V

    iput-object p1, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->a:Lcom/hierynomus/smbj/connection/c;

    const/4 p1, 0x0

    new-array p1, p1, [B

    .line 5
    iput-object p1, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->b:[B

    .line 6
    sget-object p1, Lcom/hierynomus/smbj/smb2/SMB2Dialect;->UNKNOWN:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    iput-object p1, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->e:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    .line 7
    iput-object p2, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->d:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()Ljava/util/UUID;
    .locals 1

    .line 9
    iget-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->f:Ljava/util/UUID;

    return-object v0
.end method

.method a(Lcom/hierynomus/smbj/smb2/messages/i;)V
    .locals 3

    .line 1
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->e()[B

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->b:[B

    .line 2
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->g()I

    .line 3
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->f()I

    .line 4
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->h()I

    .line 5
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->j()Ljava/util/UUID;

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->c:Ljava/util/UUID;

    .line 6
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->d()Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->e:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    .line 7
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->c()J

    move-result-wide v0

    const-class v2, Lcom/hierynomus/smbj/connection/ConnectionInfo$GlobalCapability;

    invoke-static {v0, v1, v2}, Les/ed0$a;->a(JLjava/lang/Class;)Ljava/util/EnumSet;

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->g:Ljava/util/EnumSet;

    .line 8
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/i;->i()I

    return-void
.end method

.method public b()Lcom/hierynomus/smbj/smb2/SMB2Dialect;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->e:Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    return-object v0
.end method

.method public c()[B
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->b:[B

    return-object v0
.end method

.method public d()Lcom/hierynomus/smbj/connection/c;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/connection/ConnectionInfo;->a:Lcom/hierynomus/smbj/connection/c;

    return-object v0
.end method
